package Taxi_easy_main;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.BoxLayout;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import java.awt.CardLayout;
import javax.swing.JButton;
import javax.swing.JToolBar;
import javax.swing.JDesktopPane;
import javax.swing.JComboBox;
import javax.swing.JList;
import javax.swing.DefaultComboBoxModel;

public class FrameModificacionPerfil extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrameModificacionPerfil frame = new FrameModificacionPerfil();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrameModificacionPerfil() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 807, 562);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		
		JLabel lblMantenimientoDePerfiles = new JLabel("MANTENIMIENTO DE PERFILES");
		lblMantenimientoDePerfiles.setForeground(Color.RED);
		lblMantenimientoDePerfiles.setBackground(Color.WHITE);
		lblMantenimientoDePerfiles.setFont(new Font("Tahoma", Font.BOLD, 20));
		contentPane.add(lblMantenimientoDePerfiles, BorderLayout.NORTH);
		
		JLabel lblTodosLosDerechos = new JLabel("Todos los derechos reservados");
		contentPane.add(lblTodosLosDerechos, BorderLayout.SOUTH);
		
		JDesktopPane desktopPane = new JDesktopPane();
		desktopPane.setBackground(new Color(135, 206, 235));
		contentPane.add(desktopPane, BorderLayout.CENTER);
		
		JLabel lblNewLabel = new JLabel("Nombre");
		lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblNewLabel.setBounds(24, 10, 110, 33);
		desktopPane.add(lblNewLabel);
		
		textField = new JTextField();
		textField.setBounds(90, 15, 116, 22);
		desktopPane.add(textField);
		textField.setColumns(10);
		
		JLabel lblApellido = new JLabel("Apellido");
		lblApellido.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblApellido.setBounds(24, 51, 200, 50);
		desktopPane.add(lblApellido);
		
		textField_1 = new JTextField();
		textField_1.setBounds(90, 65, 116, 22);
		desktopPane.add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblDireccion = new JLabel("Direccion");
		lblDireccion.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblDireccion.setBounds(24, 107, 200, 50);
		desktopPane.add(lblDireccion);
		
		textField_2 = new JTextField();
		textField_2.setBounds(90, 121, 116, 22);
		desktopPane.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblEmail = new JLabel("Email");
		lblEmail.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblEmail.setBounds(24, 162, 200, 50);
		desktopPane.add(lblEmail);
		
		textField_3 = new JTextField();
		textField_3.setBounds(90, 176, 116, 22);
		desktopPane.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel lblTaretaDeCredito = new JLabel("Tareta de Credito");
		lblTaretaDeCredito.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblTaretaDeCredito.setBounds(380, 1, 200, 50);
		desktopPane.add(lblTaretaDeCredito);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"Visa", "Mastercard", "American Express"}));
		comboBox.setBounds(511, 15, 176, 22);
		desktopPane.add(comboBox);
		
		JLabel lblFechaDeExpiracion = new JLabel("Fecha de Expiracion");
		lblFechaDeExpiracion.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblFechaDeExpiracion.setBounds(380, 66, 200, 50);
		desktopPane.add(lblFechaDeExpiracion);
		
		JLabel lblCvv = new JLabel("CVV");
		lblCvv.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblCvv.setBounds(380, 136, 200, 50);
		desktopPane.add(lblCvv);
		
		textField_4 = new JTextField();
		textField_4.setBounds(516, 80, 116, 22);
		desktopPane.add(textField_4);
		textField_4.setColumns(10);
		
		textField_5 = new JTextField();
		textField_5.setBounds(511, 150, 116, 22);
		desktopPane.add(textField_5);
		textField_5.setColumns(10);
		
		JButton btnNewButton = new JButton("Aplicar");
		btnNewButton.setBounds(202, 345, 141, 33);
		desktopPane.add(btnNewButton);
		
		JButton btnSalir = new JButton("Salir");
		btnSalir.setBounds(380, 345, 141, 33);
		desktopPane.add(btnSalir);
		
		JLabel lblDireccion_1 = new JLabel("Direccion");
		lblDireccion_1.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblDireccion_1.setBounds(24, 220, 200, 50);
		desktopPane.add(lblDireccion_1);
		
		textField_6 = new JTextField();
		textField_6.setBounds(90, 234, 116, 22);
		desktopPane.add(textField_6);
		textField_6.setColumns(10);
	}
}
